package com.book.dao;

import com.book.pojo.BrowseHistory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BrowseHistoryDao {
    int deleteByPrimaryKey(Integer id);

    int delete(String uCode);

    int insert(BrowseHistory record);

    int insertSelective(BrowseHistory record);

    BrowseHistory selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BrowseHistory record);

    int updateByPrimaryKey(BrowseHistory record);

    List<BrowseHistory> getList(String uCode);

    BrowseHistory getBrowseHistory(@Param("uCode") String uCOde,@Param("bookCode") String bookCode);
}